home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Snippets / Background ppat 1.0.2 / src / file.c < prev    next >
Encoding:
C/C++ Source or Header  |  1995-12-15  |  675 b   |  31 lines  |  [TEXT/CWIE]

  1. /* ----------------------------------------------------------------------
  2. file.c
  3. ---------------------------------------------------------------------- */
  4.  
  5. #include    "main.h"
  6. #include    "file.h"
  7.  
  8. /* ----------------------------------------------------------------------
  9. DoMenuFile
  10. ---------------------------------------------------------------------- */
  11. void DoMenuFile(theItem)
  12. int theItem;
  13. {
  14.     switch (theItem)
  15.     {
  16.         case FILE_QUIT:
  17.             FileQuit();
  18.             break;
  19.         default:
  20.             break;
  21.     }
  22. }
  23.  
  24. /* ----------------------------------------------------------------------
  25. FileQuit
  26. ---------------------------------------------------------------------- */
  27. void FileQuit()
  28. {
  29.     gDone = true;
  30. }
  31.